package com.class5.springboot.frame.repo.tool;

import com.class5.springboot.frame.repo.entity.SuperEntity;

public class Config {
    // 接口工程
    private String entitySrcPath;

    //实体类的父类
    private Class<?> superEntity = null;
    public Config() {

    }
    public Config(String entitySrcPath, Class<?> superEntity) {
        super();
        this.entitySrcPath = entitySrcPath;
        this.superEntity = superEntity==null?SuperEntity.class:superEntity;
    }
    public Config(String entitySrcPath) {
        super();
        this.entitySrcPath = entitySrcPath;
        this.superEntity = SuperEntity.class;
    }
    public Class<?> getSuperEntity() {
        return superEntity;
    }
    public String getEntitySrcPath() {
        return entitySrcPath;
    }


}
